package com.itheima.demo1;

public class exercise6 {
    public static void main(String[] args) {
        //车的自动驾驶
        boolean isLightGreen = false;
        boolean isLightYellow = false;
        boolean isLightRed = true;
        if (isLightGreen){
            System.out.println("go!");
        }
        if (isLightYellow){
            System.out.println("please slow");
        }
        if (isLightRed){
            System.out.println("stop!!!");
        }
    }
}
